<template>
	<div class="mainparts">
		<h3 style="border-bottom: none;">
			<a v-text = "title"></a>
		</h3>
		<ul>
			<li v-for = "item in message">
				<a href="#">
					<img :src="item.img" alt="item.name" />
					<span v-text = "item.name"></span>
					<em v-text = "item.price"></em>
				</a>
			</li>
		</ul>
	</div>
</template>

<script>
	export default{
		props:["message","title"]
	}
</script>

<style>
</style>